package top.cardone.data.func;

import top.cardone.core.util.func.Func0;
import top.cardone.core.util.func.Func1;

import java.util.Map;
import java.util.UUID;

/**
 * Created by yht on 16-3-28.
 */
public class ReadRandomUUIDFunc implements Func0<String>, Func1<String, Map<String, Object>> {
    @Override
    public String func() {
        return UUID.randomUUID().toString();
    }

    @Override
    public String func(Map<String, Object> stringObjectMap) {
        return this.func();
    }
}
